package com.songcha.module_mine.ui.activity.unregister

import com.songcha.library_base.mvvm.base.BaseRepository
import com.songcha.library_network.bean.BaseBean
import com.songcha.module_mine.api.MineApiManager
import io.reactivex.Observable

class UnRegisterAccountRepository:BaseRepository() {
    fun sendUnRegisterVerify(phone:String):Observable<BaseBean>{
        return MineApiManager.api.sendUnRegisterVerify(phone)
    }

    fun unregister(phone:String,code:String):Observable<BaseBean>{
        return MineApiManager.api.unregister(phone,code)
    }

    fun unregisterByWx(code:String):Observable<BaseBean>{
        return MineApiManager.api.unregisterByWx(code)
    }

}